package com.meowcook.pojo.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 28792
 * Date: 2025-05-13
 * Time: 18:49
 */
@Data
@ApiModel(value = "主页、评论用户信息")
public class UserPartIVO {
    @ApiModelProperty(value = "用户id")
    private Long id;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @JsonInclude(JsonInclude.Include.ALWAYS)
    @ApiModelProperty(value = "头像地址")
    private String avatarUrl;

    @JsonInclude(JsonInclude.Include.ALWAYS)
    @ApiModelProperty(value = "用户是否是管理员，0-否，1-是")
    private Byte isAdmin;
}
